package com.example.shortmessage.contract;

import com.example.shortmessage.base.BaseAbstractPresenter;
import com.example.shortmessage.base.IBaseView;
import com.example.shortmessage.data.entity.MessageData;

public interface MessageContract {
    interface View<P extends MessageContract.Presenter> extends IBaseView<P> {

    }

    abstract class Presenter<V extends MessageContract.View> extends BaseAbstractPresenter<V> {
        public abstract void upData(String id);
        public abstract void delete(MessageData id);
    }

    interface Model {
        MessageData query(String sms_id);

    }
}
